So, I’ve been trying the lazy way to figure out how to code some simple stuff for KS. The last thing I coded was in BASIC on my C64 30 years ago, and even then it was a simple counter function. So, imagine my excitement when I did some reading about ChatGPT able to do coding from prompts! So, I finally got a pro subscription to CatGPT through work for some other stuff, and I spent a couple of hours with it trying to make a script that would read the selected objects in the scene tree and align them using the center of the bounding box. It wrote some stuff, pasted into a text doc, saved as a .py and then spent hours chucking errors back and forth and trying new versions.
Didn’t work.
Then i found GPTs that were labled for Keyshot! So i figured that these were trained and were taught the KS API and python modules, classes and libraries and whatever, but I got the same results.
(and don’t get too excited about the HDRI generator, its neat and it works, but only outputs 1792x1080 webp images. Might try to use Gigapixel on them. Neat thing is it DOES ask you if you want a backplate )
Anyway, I know the right way to go is to take a python course and learn it right, but just wondering if I am missing something? Is there a way to “teach” the GPT the API? I can’t even find proper documentation as to what all the classes and modules are for KS scripting, the docs just say “look at the scripts provided and modify as needed”. Is there a better resource to learn about what you can actually do with scripting? Is what I tried actually not possible with scripting but ChatGPT just doesn’t know it can’t?
Thanks!